package com.sllp.C71S3TsllpShop.bean;

import java.sql.Timestamp;
import java.util.Date;

public class Notice {
    private Integer id;

    private Integer admin;

    private Integer who;

    private Date pushTime;

    private Timestamp modifyTime;

    private Integer power;

    private Integer state;
    
    private String title;

    private String description;
    
    private Admin admin2;

    public Notice(Integer id, Integer admin, Integer who, Date pushTime, Timestamp modifyTime, Integer power, Integer state,String title) {
        this.id = id;
        this.admin = admin;
        this.who = who;
        this.pushTime = pushTime;
        this.modifyTime = modifyTime;
        this.power = power;
        this.state = state;
        this.title = title;
    }

    public Notice(Integer id, Integer admin, Integer who, Date pushTime, Timestamp modifyTime, Integer power, Integer state,String title, String description) {
        this.id = id;
        this.admin = admin;
        this.who = who;
        this.pushTime = pushTime;
        this.modifyTime = modifyTime;
        this.power = power;
        this.state = state;
        this.title = title;
        this.description = description;
    }

    public Notice() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAdmin() {
        return admin;
    }

    public void setAdmin(Integer admin) {
        this.admin = admin;
    }

    public Integer getWho() {
        return who;
    }

    public void setWho(Integer who) {
        this.who = who;
    }

    public Date getPushTime() {
        return pushTime;
    }

    public void setPushTime(Date pushTime) {
        this.pushTime = pushTime;
    }

    public Timestamp getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Timestamp modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getPower() {
        return power;
    }

    public void setPower(Integer power) {
        this.power = power;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

	public Admin getAdmin2() {
		return admin2;
	}

	public void setAdmin2(Admin admin2) {
		this.admin2 = admin2;
	}
}